package com.paging.service;

import com.paging.pojo.Book;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface BookService  {

    List<Book> queryBookList();

    int count(String bookName,String bookType);

    void addBook(Book book);

    void deleteBook(String bookNumber);
    void updateBook(Book book);
    void deleteBookByIds(String idList);
    List<Book> queryBookListByPage(@Param("start") Integer start,@Param("pageSize") Integer pageSize, @Param("bookName") String bookName,@Param("bookType") String bookType);

}
